find_package(OpenCV 3.4.7 REQUIRED)

set(AUTOAIM_INCLUDE_DIR ${OpenCV_INCLUDE_DIRS} ./armor ./detector ./computor ./data_pack)

set(AUTOAIM_SOURCE_FILES armor/Armor.cpp detector/Detector.cpp computor/Computor.cpp data_pack/DataPack.cpp)

include_directories(${AUTOAIM_INCLUDE_DIR})

add_library(autoaim ${AUTOAIM_SOURCE_FILES})

target_link_libraries(autoaim ${OpenCV_LIBS})
